@import '../../../src/res/theme/xxhz.scss';

.news-root {
  width: 100%;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  padding-bottom: 160px;

  .header {
    width: 100%;
    background-color: white;
  }

  .no-p-b {
    padding-bottom: 0 !important;
  }

  .no-p-r-l {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .no-p-t {
    padding-top: 0 !important;
  }

  .header .title {
    font-size: 42px;
    color: #333;
    box-sizing: border-box;
    padding: 50px 30px 30px;
    font-weight: bold;
  }

  .header .description {
    font-size: 30px;
    box-sizing: border-box;
    padding: 0 30px;
  }

  .header .author {
    color: #7695b9;
  }

  .header .date {
    color: #b0b0b0;
    margin-left: 20px;
  }

  .content {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    background-color: white;
  }

  .content .visited {
    padding-top: 40px;
    color: #ababab;
    font-size: 28px;
  }

  img {
    max-width: 100%;
  }


  .other {
    width: 100%;
    background: white;
    margin-top: 20px;
    /* padding: 0 7px 10px; */
    box-sizing: border-box;
  }

  .other .title {
    font-size: 32px;
    font-weight: bold;
    padding: 28px 30px;
    box-sizing: border-box;
  }

  .other .content {
    width: 100%;
  }

  .other .item .cover {
    border-radius: 120px;
    height: 148px;
    width: 290px;
    flex-shrink: 0;
  }

  .other .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }

  .other .item .info-box {
    flex-grow: 1;
    box-sizing: border-box;
    padding-left: 30px;
  }

  .other .item .item-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 40px;
    max-height: 84px;
    overflow: hidden;
  }

  .other .item .price {
    font-size: 28px;
    color: #a7a7a7;
  }

  .other .item .symbol {
    font-size: 20px;
    color: #fb2406;
  }

  .other .item .primary {
    font-size: 32px;
    color: #fb2406;
  }

  .other .item .del-price {
    text-decoration: line-through;
  }

  .poster-btn-box {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: $mainColor;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    line-height: 100px;
    z-index: 99;
  }
}

.detail-header-box {
  width: 100vw;
  margin: 0 -10px;
  overflow: hidden;
  position: relative;

  .btn-box {
    position: absolute;
    z-index: 99;
    bottom: 20px;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    box-sizing: border-box;

    .at-icon {
      font-size: 26px;
      margin-top: -2px;
      margin-right: 4px;
    }

    .center {
      width: 340px;
      display: flex;
      justify-content: center;
    }

    .left {
      color: white;
      display: flex;
      width: 20%;

      .at-icon {
        font-size: 38px;
      }
    }

    .right {
      color: white;
      display: flex;
      width: 20%;
      justify-content: flex-end;

      .at-icon {
        font-size: 38px;
      }

      .image-number {
        font-size: 24px;
      }
    }

    .btn-item {
      background-color: white;
      border-radius: 20px;
      width: 100px;
      height: 40px;
      overflow: hidden;
      font-size: 20px;
      line-height: 40px;
      text-align: center;
      margin-right: 20px;
      color: #333333;

      &:last-child {
        margin-right: 0;
      }
    }

    .active {
      background-color: #fed30a;
    }
  }
}
